package linguo.input;

import java.awt.event.KeyAdapter;

import java.awt.event.KeyEvent;


/**
 * Clase encargada de la entrada por teclado al juego.
 *@author Corpaz German
 *@author Frank Andres
 *
 */

public class KeyInput extends KeyAdapter {

	private KeyboardHandler kh;

	public KeyInput(KeyboardHandler kh) {
		this.kh = kh;
	}

	public void keyPressed(KeyEvent e) {
		kh.keyPressed(e);
	}

	public void keyReleased(KeyEvent e) {
		kh.keyReleased(e);
	}

}
